Added xm list --state option, to select VMs with a particular state. Make
authorEwan Mellor <ewan@xensource.com>
Tue, 28 Nov 2006 13:34:15 +0000 (13:34 +0000)
committerEwan Mellor <ewan@xensource.com>
Tue, 28 Nov 2006 13:34:15 +0000 (13:34 +0000)
commita6878f4ab46f98640d70ab65987cafc3c8572f28
treedca7280c31410541fd32fedfe803cb07717bb9f7
parent8cff4a9583b87796c732bc731cdb9bfad8f430f1
Added xm list --state option, to select VMs with a particular state.  Make
this handled by a new message (xend.domains_with_state) and make xend.domains
equivalent to xend.domains_with_state(running).  This restores the Xen 3.0.3
semantics of xend.domains.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/server/XMLRPCServer.py
tools/python/xen/xm/main.py